wayland: Use display from GdkDragContext device
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 17 Feb 2015 18:45:50 +0000 (19:45 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 17 Feb 2015 18:50:05 +0000 (19:50 +0100)
commite43ec48e837b6b458a1b89658ecc19bff9f90265
tree7c6f81e6cd6da85c9d1f8660385cae78a60f7137
parent4162fccaa29d2c22ca3050520fa217c4edf3dc72
wayland: Use display from GdkDragContext device

It will be useless to check the source window on the destination side,
it's at the moment always NULL. Fetch the display from the device instead,
which will be set for every GdkDragContext.
gdk/wayland/gdkdnd-wayland.c